package org.magnerfuller.imtoolkit.server.connection.event.listener;

import org.magnerfuller.imtoolkit.server.connection.event.ConnectionEvent;

/**
 * 
 * Interface ConnectionListener
 * 
 * This interface should be implemented by all classes whose objects
 * are to receive ConnectionEvents from ConnectionHandlers.
 *
 */
public interface ConnectionListener {
  /**
   * Handle the event of a connection.
   * 
   * @param event the event to be handled.
   */
  public void  connectionOccurred(ConnectionEvent event);
}//ConnectionListener
